class Student:

    def __init__(self, name, score):
        self.name = name
        self.score = score

    def print_score(self):
        print('{0}的成绩是{1}'.format(self.name, self.score))


stu = Student('陈建', 100)
stu.print_score()
